package chainofresponsibility.main.impl;

import chainofresponsibility.main.handle.AbstractHandler;
import chainofresponsibility.main.message.IStudent;

/**
 * 教室处理者
 */
public class TeacherHandler extends AbstractHandler {
    public TeacherHandler() {
        super(1);
    }

    @Override
    public void process(IStudent student) {
        System.out.println("老师 批复：" + student.getRequestMessage());
    }
}
